<template>
	<view>
		<NavigationBar title="分类"></NavigationBar>
        <nav-list @navChange="handleNavChange"></nav-list>
        <content-list :currentNav="currentNav" ></content-list>
	</view>
</template>

<script>
import NavigationBar from '../../common/NavigationBar'
import NavList from'./NavList'
// import ContentList from './ContentList'
import ContentList from './ConList'
export default {
    components:{
        NavigationBar,
        NavList,
        ContentList
    },
    data() {
        return {
            currentNav:'',
        }
    },
    methods: {
        handleNavChange(val){
            this.currentNav = val+'';
        }
    },
}
</script>

<style>

</style>
